home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1620 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: castle.nando.net!news
  2. From: Steve Krueger <sekruege@nando.net>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: sas/c c -> asm
  5. Date: Sun, 21 Jan 1996 20:30:51 -0500
  6. Organization: News & Observer Public Access
  7. Message-ID: <3102E8CB.5EC3@nando.net>
  8. References: <781.6594T816T2161@innet.be>
  9. NNTP-Posting-Host: vyger608.nando.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b5 (Macintosh; I; 68K)
  14.  
  15. Bert Wynants wrote:
  16. > Hi,
  17. > With SAS/C (6.56) it's possible to create an asm file out of a c-source file
  18. > (disassemble option). However if I want to asm this generated file the
  19. > assmebler chokes on it:
  20. > test.a 214 Error: invalid operands for this opcode
  21. >               MOVEM.L        D4/D5/D6/D7/A2/A3/A4/A5/A6,-(A7);48e7 0f3e
  22.  
  23. The SAS Assembler has a limit to the number of register ranges you can 
  24. specify on the movem instruction. Also, the semicolon should be separated
  25. from the rest of the line by a space. Change this line to :
  26.  
  27.          MOVEM.L        D4-D7/A2-A6,-(A7)   ;48e7 0f3e
  28.  
  29. And it should assemble ok.
  30.  
  31. sk
  32.